protected void Application_Error(Object sender, EventArgs e)
{
   System.Exception bigError = Server.GetLastError();
   //Sprawdzenie przykadowego wyjtku HttpRequestValidationException
   if(bigError.GetBaseException() is HttpRequestValidationException )
   {
     System.Diagnostics.Trace.WriteLine(bigError.ToString());
    Server.ClearError();
   }
}
